/*
**************************************************************************************
*Myriad Engine                                                                       *
*Copyright (C) 2006-2007, 5d Studios (www.5d-Studios.com)                            *
*                                                                                    *
*This library is free software; you can redistribute it and/or                       *
*modify it under the terms of the GNU Lesser General Public                          *
*License as published by the Free Software Foundation; either                        *
*version 2.1 of the License, or (at your option) any later version.                  *
*                                                                                    *
*This library is distributed in the hope that it will be useful,                     *
*but WITHOUT ANY WARRANTY; without even the implied warranty of                      *
*MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU                   *
*Lesser General Public License for more details.                                     *
*                                                                                    *
*You should have received a copy of the GNU Lesser General Public                    *
*License along with this library; if not, write to the Free Software                 *
*Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA      *
**************************************************************************************
*/
package leola.utils;

/**
 * @author Tony
 *
 */
public class Pair<X, Y> {

	/**
	 * Get the first item
	 */
	private X first;
	
	/**
	 * Get the second item
	 */
	private Y second;

	/**
	 * 
	 * @param first
	 * @param second
	 */
	public Pair(X first, Y second) {
		this.first=first;
		this.second=second;
	}
	
	/**
	 */
	public Pair() {		
	}
	
	/**
	 * @param first the first to set
	 */
	public void setFirst(X first) {
		this.first = first;
	}

	/**
	 * @return the first
	 */
	public X getFirst() {
		return first;
	}

	/**
	 * @param second the second to set
	 */
	public void setSecond(Y second) {
		this.second = second;
	}

	/**
	 * @return the second
	 */
	public Y getSecond() {
		return second;
	}
}
